ERDC MSRC/PET TR/00-08 Dual-Level Parallelism Improves Load-Balance in Coastal Ocean Circulation Modeling
نویسندگان
چکیده
Numerical grid generation techniques play an important role in the numerical solution of partial di erential equations on arbitrarily-shaped regions. For coastal ocean modeling, in particular, a one-block grid covering the region of interest is most commonly used. Most bodies of water have complicated coastlines; e.g., Persian Gulf and Mediterranean Sea. In such a physical domain, the number of unused grid points can be a relatively large portion of the entire domain space. Other disadvantages of using a one-block grid include large memory requirements and poor resolution for a large body of water; e.g., Paci c Ocean. In this study, we introduce a multi-block grid generation technique and a dual-level parallel implementation to eliminate these problems. Message Passing Interface (MPI) is used to parallelize the Princeton Ocean Model (POM) ocean circulation code such that each grid block is assigned to a unique processor. Since not all grid blocks are of the same size, the work-load varies between MPI processes. To alleviate this we use dynamic threading to improve load balance. Performance results from the POM model on both a oneblock grid and twenty-block grid after a 90-day simulation for the PersianGulf demonstrate the e cacy of the MPI-only and MPI/OpenMP code versions.
منابع مشابه
ERDC MSRC/PET TR/00-07 Execution and Load-Balance Improvements in the CH3D Hydrodynamic Simulation Code
CH3D is a three-dimensional numerical hydrodynamic, salinity, and temperature model. It is widely used to investigate important physical features of the hydrodynamic process and bathymetry in areas such as Chesapeake Bay, Delaware Bay, and New York Bight. Over the years, performance analysis of CH3D has been conducted. A parallel version with 1-D domain decomposition has been used by many envir...
متن کاملERDC MSRC/PET TR/00-33 Comparison of OpenMP and Pthreads within a Coastal Ocean Circulation Model Code
Numerical grid generation techniques play an important role in the numerical solution of partial di erential equations on arbitrarily shaped regions. For coastal ocean modeling, a one-block grid covering the region of interest, while commonly used, has many disadvantages, including large numbers of unused grid points around bodies of water with complicated coastlines, large memory requirements,...
متن کاملERDC MSRC/PET TR/00-32 Practical Experiences with the Fortran Pthreads API
With the growing popularity of symmetric multiprocessors (SMPs), shared-memory programming models have become more important. Of particular relevance to scienti c programmers will be those paradigms that can be used within message-passing codes. POSIX Threads (Pthreads) is one such shared-memory programming model. While only de ned for use within C programs, the Fortran API to Pthreads (FPTHRD)...
متن کاملERDC MSRC/PET TR/00-11 Parallel Simulation of Flows in Open Channels at a Super-Critical Condition using the Finite Element Method
متن کامل
ERDC MSRC/PET TR/00-01 Building Multidisciplinary Applications With MPI
Views, opinions and/or findings contained in this report are those of the author(s) and should not be construed as an official Department of Defense Position, policy, or decision unless so designated by other official documentation.
متن کامل